<template>
    <div class="brand">
    <div class="brand-list">
        <div class="brand-title">
            <h1>品牌商标</h1>
        </div>
        <div class="brand-images">
            <ul>
            <li v-for="brandimg in brandImages" :key="brandimg.id">
                <img :src="brandimg.image" alt="Brand Image">
            </li>
        </ul>
        </div>
    </div>
</div>
</template>

<script>
export default {
    name: "BrandList",
    data() {
        return {
            brandImages: [
                { id: 1, image: require("@/assets/brand/brand_21.png") },
                { id: 2, image: require("@/assets/brand/brand_05.png") },
                { id: 3, image: require("@/assets/brand/brand_07.png") },
                { id: 4, image: require("@/assets/brand/brand_09.png") },
                { id: 5, image: require("@/assets/brand/brand_11.png") },
                { id: 6, image: require("@/assets/brand/brand_13.png") },
                { id: 7, image: require("@/assets/brand/brand_15.png") },
                { id: 8, image: require("@/assets/brand/brand_17.png") },
                { id: 9, image: require("@/assets/brand/brand_19.png") },
                { id: 10, image: require("@/assets/brand/brand_03.png") }
            ]
        }
    }
}
</script>

<style scoped>
.brand {
    margin:20px 0px;
}
.brand-list {
    display: flex;
    flex-direction: column;
    width: 1200px;
    margin: 0 auto;
}

.brand-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    color: #e1251b;
}
.brand-title h1 {
    font-size: 24px;
    font-weight: bold;
}

.brand-images {
 overflow: hidden;
  padding: 15px 0;
  background: #f7f7f7;
  line-height: 18px;
  border-top: 2px solid #e1251b;
}

.brand-images ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.brand-images li {
    margin: 10px;
}
/* 
.brand-images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
} */
</style>